projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e544602
)
Some people use a hacked libtool that doesn't even install .la files
author
Tor Lillqvist
<tml@iki.fi>
Mon, 12 Apr 2010 10:40:43 +0000
(13:40 +0300)
committer
Tor Lillqvist
<tml@iki.fi>
Mon, 12 Apr 2010 10:42:31 +0000
(13:42 +0300)
sanitize-la.sh
patch
|
blob
|
history
diff --git
a/sanitize-la.sh
b/sanitize-la.sh
index 9bc0ba2b3f31aef3607895bb2e925fb65d59aba9..0f8cb63b3f4dfea555e0d7ce518c8b7d04ad2df2 100755
(executable)
--- a/
sanitize-la.sh
+++ b/
sanitize-la.sh
@@
-1,3
+1,6
@@
#!/bin/sh
-sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
+if [ -f $1 ]; then
+ sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
+fi
+